package org.bees.cms.core.setting;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Lob;

@Entity
public class Constant extends Setting {
	private static final long serialVersionUID = 4844984304450843170L;

	private String expression;
	private String value;

	@Column(length = 24, nullable = false, unique = true)
	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	@Lob
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

}
